/*
 * Project Name spring-boot-tools
 * File Name MybatisPlusApp
 * Package Name com.huxiaosu.tools.mybatis
 * Create Time 2024/7/9
 * Create by name：liujie
 */
package com.huxiaosu.tools.mybatis.demo;

import com.baomidou.mybatisplus.annotation.DbType;
import com.huxiaosu.tools.autocreate.annotation.EnableCreateDataBases;
import com.huxiaosu.tools.autocreate.annotation.EnableCreateTables;
import com.huxiaosu.tools.common.ToolsAppServer;
import com.huxiaosu.tools.common.annotation.ToolsApp;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * Description
 *
 * @author liujie
 * @date 2024/7/9 14:05
 */
@EnableCreateDataBases(value= DbType.MYSQL)
@EnableCreateTables(value= DbType.MYSQL)
@SpringBootApplication
@ToolsApp
@MapperScan(basePackages = { "com.huxiaosu.tools.mybatis.base.mapper", "com.huxiaosu.tools.mybatis.demo.mapper" })
public class MybatisDemoApp {
    public static void main(String[] args) {

        ToolsAppServer.run(MybatisDemoApp.class, args);
    }
}